Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.platform.routing.layouts--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.routing.layouts inside nuxeo-routing-web-8.10.jar /OSGI-INF/layouts-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="current_route_layout">
          <templates>
            <template mode="any">
              /layouts/layout_grid_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_gridStyleClass_0">gridStyle12</property>
                <property name="nxl_gridStyleClass_1">gridStyle7</property>
                <property name="nxl_gridStyleClass_2">gridStyle5</property>
                <property name="nxl_gridStyleClass_3">gridStyle12</property>
              </properties>
              <widget>current_route_panel_top</widget>
              <widget>current_route_panel_left</widget>
              <widget>current_route_panel_right</widget>
              <widget>current_route_panel_bottom</widget>
            </row>
          </rows>
        </layout>
  • <layout name="route_content_view_layout">
          <templates>
            <template mode="any">
              /layouts/layout_listing_ajax_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="showListingHeader">true</property>
            <property name="showRowEvenOddClass">true</property>
          </properties>
          <columns>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>task_title</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>task_assignee</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>task_directive</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>task_comments</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>task_start_date</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>task_due_date</widget>
            </column>
          </columns>
        </layout>
  • <layout name="previousRoutesLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>previousRoutesContentView</widget>
            </row>
          </rows>
          <widget name="previousRoutesContentView" type="contentViewWithForms">
            <labels>
              <label mode="any"/>
            </labels>
            <translated>false</translated>
            <properties widgetMode="any">
              <property name="contentViewName">previous_routes</property>
              <property name="foldable">false</property>
            </properties>
          </widget>
        </layout>
  • <layout name="graphViewLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>current_route_show_graph</widget>
            </row>
          </rows>
        </layout>
  • <layout name="task_additional_actions_layout">
          <templates>
            <template mode="any">
              /layouts/layout_div_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>reassign_task_widget</widget>
              <widget>delegate_task_widget</widget>
            </row>
          </rows>
        </layout>
  • <layout name="task_layout">
          <templates>
            <template mode="any">
              /layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>task_workflow_name</widget>
            </row>
            <row>
              <widget>task_actors</widget>
            </row>
            <row>
              <widget>task_delegated_users</widget>
            </row>
            <row>
              <widget>task_duedate</widget>
            </row>
            <row>
              <widget>task_simple_directive</widget>
            </row>
            <row>
              <widget>container_for_task_layout_with_actions</widget>
            </row>
          </rows>
          <widget name="container_for_task_layout_with_actions" type="container">
            <labels>
              <label mode="any"/>
            </labels>
            <controls mode="any">
              <control name="handleLabels">true</control>
            </controls>
            <properties mode="any">
              <property name="hideSubLabels">true</property>
            </properties>
            <subWidgetRefs>
              <widget>task_layout_with_actions</widget>
            </subWidgetRefs>
          </widget>
        </layout>
  • <layout name="workflowTaskReassignmentLayout">
          <!--applies to a TaskInfo -->
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>task_reassignment_actors</widget>
            </row>
            <row>
              <widget>task_reassignment_comment</widget>
            </row>
          </rows>
          <widget name="task_reassignment_actors" type="multipleUsersSuggestion">
            <labels>
              <label mode="any">label.workflow.task.actors</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>actors</field>
            </fields>
            <properties mode="any">
              <property name="required">true</property>
              <property name="prefixed">true</property>
            </properties>
          </widget>
          <widget name="task_reassignment_comment" type="textarea">
            <labels>
              <label mode="any">label.workflow.task.comment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>comment</field>
            </fields>
          </widget>
        </layout>
  • <layout name="userOpenTasksLayout">
          <templates>
            <template mode="any">
              /layouts/layout_div_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>current_user_open_tasks</widget>
            </row>
          </rows>
          <widget name="current_user_open_tasks" type="contentViewWithForms">
            <labels>
              <label mode="any"/>
            </labels>
            <translated>false</translated>
            <controls mode="any">
              <control name="handleLabels">true</control>
            </controls>
            <properties widgetMode="any">
              <property name="contentViewName">user_open_tasks</property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="current_route_layout">
      <templates>
        <template mode="any">
          /layouts/layout_grid_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_gridStyleClass_0">gridStyle12</property>
            <property name="nxl_gridStyleClass_1">gridStyle7</property>
            <property name="nxl_gridStyleClass_2">gridStyle5</property>
            <property name="nxl_gridStyleClass_3">gridStyle12</property>
          </properties>
          <widget>current_route_panel_top</widget>
          <widget>current_route_panel_left</widget>
          <widget>current_route_panel_right</widget>
          <widget>current_route_panel_bottom</widget>
        </row>
      </rows>
    </layout>

    <!-- Route tasks content view layout -->
    <layout name="route_content_view_layout">
      <templates>
        <template mode="any">
          /layouts/layout_listing_ajax_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>task_title</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>task_assignee</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>task_directive</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>task_comments</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>task_start_date</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>task_due_date</widget>
        </column>
      </columns>
    </layout>

    <!-- Past routes layout -->
    <layout name="previousRoutesLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>previousRoutesContentView</widget>
        </row>
      </rows>
      <widget name="previousRoutesContentView" type="contentViewWithForms">
        <labels>
          <label mode="any"/>
        </labels>
        <translated>false</translated>
        <properties widgetMode="any">
          <property name="contentViewName">previous_routes</property>
          <property name="foldable">false</property>
        </properties>
      </widget>
    </layout>

    <layout name="graphViewLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>current_route_show_graph</widget>
        </row>
      </rows>
    </layout>

    <layout name="task_additional_actions_layout">
      <templates>
        <template mode="any">
          /layouts/layout_div_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>reassign_task_widget</widget>
          <widget>delegate_task_widget</widget>
        </row>
      </rows>
    </layout>

    <layout name="task_layout">
      <templates>
        <template mode="any">
          /layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>task_workflow_name</widget>
        </row>
        <row>
          <widget>task_actors</widget>
        </row>
        <row>
          <widget>task_delegated_users</widget>
        </row>
        <row>
          <widget>task_duedate</widget>
        </row>
        <row>
          <widget>task_simple_directive</widget>
        </row>
        <row>
          <widget>container_for_task_layout_with_actions</widget>
        </row>
      </rows>
      <widget name="container_for_task_layout_with_actions" type="container">
        <labels>
          <label mode="any"/>
        </labels>
        <controls mode="any">
          <control name="handleLabels">true</control>
        </controls>
        <properties mode="any">
          <property name="hideSubLabels">true</property>
        </properties>
        <subWidgetRefs>
          <widget>task_layout_with_actions</widget>
        </subWidgetRefs>
      </widget>
    </layout>

    <layout name="workflowTaskReassignmentLayout">
      <!--applies to a TaskInfo -->
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>task_reassignment_actors</widget>
        </row>
        <row>
          <widget>task_reassignment_comment</widget>
        </row>
      </rows>
      <widget name="task_reassignment_actors" type="multipleUsersSuggestion">
        <labels>
          <label mode="any">label.workflow.task.actors</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>actors</field>
        </fields>
        <properties mode="any">
          <property name="required">true</property>
          <property name="prefixed">true</property>
        </properties>
      </widget>
      <widget name="task_reassignment_comment" type="textarea">
        <labels>
          <label mode="any">label.workflow.task.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>comment</field>
        </fields>
      </widget>
    </layout>

    <layout name="userOpenTasksLayout">
      <templates>
        <template mode="any">
          /layouts/layout_div_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>current_user_open_tasks</widget>
        </row>
      </rows>
      <widget name="current_user_open_tasks" type="contentViewWithForms">
        <labels>
          <label mode="any"/>
        </labels>
        <translated>false</translated>
        <controls mode="any">
          <control name="handleLabels">true</control>
        </controls>
        <properties widgetMode="any">
          <property name="contentViewName">user_open_tasks</property>
        </properties>
      </widget>
    </layout>
  </extension>